<!--
 * @Author: 陈良财
 * @Date: 2020-06-29 10:19:11
 * @LastEditTime: 2020-07-01 15:33:43
 * @LastEditors: Please set LastEditors
 * @Description:系统消息 
 * @FilePath: \shopping\shopping\src\pages\massage\component\detailed.vue
--> 
<template>
  <div class="system">
    <div class="sys">
      <van-image width="50" height="50" :src="require('@/assets/index.jpg')" />
      <van-cell
        is-link
        title="系统消息"
        value="4-18"
        :label="system"
        link-type="navigateTo"
        url="/pages/dashboard/index"
      />
    </div>
  </div>
</template>
<script>
import * as api from "@/api/apiList/system/system";
export default {
  data() {
    return {
      system: ""
    };
  },
  methods: {
    async API_system() {
      return await api.system();
    }
  },
  async created() {
    let res = await this.API_system();
    if (res.data.code === 200) {
      this.system = res.data.data.notice;
    }
      console.log(res);
  }
  
  
};
</script>
<style lang="scss">
@import "@/style/message/message";
</style>
